projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e07fd1a
)
Don't show the usage message for "domain does not exist" errors.
author
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 19:57:35 +0000
(19:57 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 19:57:35 +0000
(19:57 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/main.py
b/tools/python/xen/xm/main.py
index 34289078e28a4e04abdf3ba754f890801f50de63..89dbfde9d101dab56fb6168c43ed1445fbe43eca 100644
(file)
--- a/
tools/python/xen/xm/main.py
+++ b/
tools/python/xen/xm/main.py
@@
-1892,7
+1892,7
@@
def _run_cmd(cmd, cmd_name, args):
err("Domain '%s' does not exist." % ex.faultString)
else:
err(ex.faultString)
- _usage(cmd_name)
+
_usage(cmd_name)
except xmlrpclib.ProtocolError, ex:
if ex.errcode == -1:
print >>sys.stderr, (